package FCRendering.sw;

import FCRendering.FCRMaster;

@Deprecated
public class FCRSendMessageThread extends Thread{
	@Override
	public void run() {
//		while (true) {
//			try {
//				if (FCRMaster.fcv.isSendMessage()) {
//					String str = FCRMaster.socket.sendMessge("玩家" + ((FCRMaster.fcv.getInterfacenum()== 2) ? "1:" : "2:") +FCRMaster.messageText.getText());
//					if (str != null)FCRMaster.fcv.getMessage().add(str);
//					FCRMaster.messageText.setText("");
//					FCRMaster.fcv.setSendMessage(false);
//				}
////				socket.sendMessge(FCRConstants.SYSTEM+"测试");
//				Thread.sleep(50);
//				if (!FCRMaster.fcv.isOpenConnect()) {
//					FCRMaster.socket.closeConnect(FCRMaster.fcv.getInterfacenum());
//					return;
//				}
//			} catch (Exception e) {
//				e.printStackTrace();
//			}
//		}
	}
}
